/* ************************************************************************
> File Name:     main.cpp
> Author:        lugang
> Created Time:  Thu Dec 21 16:09:26 2023
> Description:   
 ************************************************************************/
#include <cstring>
#include <functional>
#include <map>
#include <fcntl.h>
#include <unistd.h>
#include "OutputStream.h"
#include "File.h"
#include "Logger.h"
#include <iostream>
#include <thread>
#include "GetThreadId.h"
#include <sys/syscall.h>
void thread1()
{
    for(int i = 0;i<10;i++){
        log_info<<"hello world\n";
    }

}
int main(){
    AppendFile appendFile("/home/lester/code/test/test2.txt");
    appendFile.Append("hello world",11);
}
